<?php

/**
 * \HomeController
 */
class HomeController extends BaseController
{
    public function home()
    {
        $this->mail = Mail::to(['jiangjl0127@foxmail.com', 'jiangjialin@lnxzd.com'])
            ->from('MotherFucker <15640380127@163.com>')
            ->title('Fuck Me!')
            ->content('<h1>Hello~~</h1>');

        $this->view = View::make('home')->with('article', Article::first())
            ->withTitle('MFFC :-D')
            ->withFuckMe('OK!');
        // $article = Article::first();
        // require dirname(__FILE__).'/../views/home.php';
    }

}
